Re-add key-pressed? and key-released? procedures.