EntitySystem cleanup.