Remove requirement to pass in an existing map when creating a new hashmap