Formats MessageType class. Adds comments and documentation to the MessageType class.