Modified `LoaderResolver` class