Removes unused code from emulator manager