Reverted changes to Prehash.