Added a method to PathContext to fetch the resolver.