Added boolean for controller.