Added active flag for controller ref.