Removed the need to use the global DependencyResolver