Remove unnecessary code.
Start adding key codes.