Update hashers to be functions

Update the hashers to be functions instead of Classes with an interface.