Added method to EqualsHelper