Note that if you want to use the functions from Hd, you have to use the prefix of the instantiation say "Hmd." instead of the uninstantiated functor "Hd.".