Add some functions to the message operation class