Extracted a Message base class