$ Extract some hash utility methods into a separate module