Updates to hashing and assert.