Added toString, equals, and some hashCode methods to domain objects