Template caching.