Implement GetHashCode.