Clean up the hashes.