overrode the Equals operator for a number of messages to check for value equality