Now caching patterns.