Message class implemented, to be tested.