Clean up the ScriptSystem a bit.