Add serializable attribute to all messages.
Fixed line ending and spacing