Add active context caching.