Provide a way to set hashtable compare and hash functions.