Add index and show functionality for Categories.