Add indexing of categories