Removed serialization for messages.