Add method getAllCategories