After importing a lua script, choosing a parent class, adding the class to the level and saving I get this:
Warning Can’t save …/…/…/XXXX/Content/Model.umap: Graph is linked to external private object ScriptContextComponent /Game/Scripts/BattlePlayer.Default__BattlePlayer_C:ScriptContext (unknown property ref)