Added equals method to Message.