Implement hashCode().