Override hashCode.