This needs to explain better how to pass `hashFunction`, and should include an example of this use.