Made classes for all the message types.