Complete generic controller.