Adds the framework for an image hasher.