def spawn(objectType): return ScriptAPI.spawn(objectType)
def dispatchEvent(eventType, parameters={}): ScriptAPI.dispatchEvent(eventType, parameters)