Added categories to the index.