Building up the message class