Updated example controller.