Removed hasher dependency.

Removes the dependency on hasher, which was used at exactly one place.