Changed the contract for Map.getIterator()