Make vars as property of controller.