Handle configuration within the controller.