Starting to add key-processing in engine.