Use a helper method to load categories for navigation.