Generalize model/controller.