Added view caching support.