[Engine] Removed a lot of old code.