Modernized ScriptingManager::Context::_initScripting