Disable zscript and define SerializableUiFactory