Added hash_new_str_autofree, hash_new_ptr, hash_new_ptr_autofree.