Refactoring variables in class CategoriaController [2]