Add filtering for categories.