add Handle#replace_hashes