New hashmap functions.