Improved hashing.