Typo.
Add equals and hashCode methods to stats.