Allow users of hash tables to specify hash functions.