added message.pressed handlers.