Added optional caching for the proxy of T.