Correctly follow hash interface's behavior.