DomainEntityManager and equals methods added.