Improved comprehensions and caches