Implement topLeafCategories