Clean up and hashing work.