Add method to return categories.