Adding controller.