Renamed map function to hashmap.