Made is possible to pass in the dependency name resolver