Receive messages by registering callbacks with Messenger.