Implement defined-operator for hashes.