Added javadoc for KeyHandler.