Updating hashCode()s to reduce collisions.