Replace usage of monkey patches with modules

Replace any usage of monkey-patched methods in Hasher and Summarizer with the module methods replacing them (see 5d4a895110dcb7e122844f4cf6f459676d505c7f).
This should be `Hasher`, right?