class EnhancedDependenciesManager {

    public void delete(final EnhancedDependency enhancedDependency) {
        enhancedDependencies.remove(enhancedDependency);
        originalSetOfDependencies.remove(enhancedDependency.getDependency());
        update();
    }

    @Inject public  EnhancedDependenciesManager(final DependencyLoader loader);

}