Greatly simplify WorldScriptHelper code.