Controllers refactoring that reduced duplicated code.