revisited ServiceBuilderImpl.addDependency methods