Removing unnecessary equals and hashcode from RequirementDefinition