Fix coupling in template definition of Priv::DependencyTree