code: function unlinkFromCuratedDeviceEvents() {
          self.curatedDevice.removeListener(
              'DEVICE_DISCONNECTED',
              curatedDeviceDisconnected
          );
          self.curatedDevice.removeListener(
              'DEVICE_RECONNECTED',
              curatedDeviceReconnected
          );
          self.curatedDevice.removeListener(
              'DEVICE_ERROR',
              curatedDeviceError
          );
          self.curatedDevice.removeListener(
              'DEVICE_RECONNECTING',
              curatedDeviceReconnecting
          );
          self.curatedDevice.removeListener(
              'DEVICE_ATTRIBUTES_CHANGED',
              cureatedDeviceAttributesChanged
          );
      }
docs: Define a function that unlinks the device manager from several of the curated device's events.