Converted all messages to be serializable