getHash renamed to getSnapshot