Adding of Message class.