Added equals methods to messages and parameters