Use the new serialization methods in Messenger.