add methods to access fields of the Message