Reduced hashing functions to a single call.