AggregatorFactory equals() and hashCode() methods.