Make addAssistedDependencies recursive.