Little changes in equals methods for domain objects. Hashcodes to be done.