convenience functions for Message class