Equals & hash codes for messages.
Merge "Equals & hash codes for messages."