Adding setters to Message class