Add constructors, equals, and hashCode methods to Relay user objects.