Update classes that override `equals()` to ensure that they also implement `hashCode()`. Issue: SPR-16968