Working on caching categories.