Added a message type to the struct.