Adds generating Image::hash from its name