Added methods to keep hashes