set_hashes renamed to add_hashes