Remove `DependencyContext` object in favor of enum