Add a layer of caching around path binding.