Added default keyboard handler.