code: def add_scanner_param(self, name, scanner_param):
          
  
          assert name
          assert scanner_param
          self.scanner_params[name] = scanner_param
          command = self.commands.get('start_scan')
          command['elements'] = {
              'scanner_params':
                  {k: v['name'] for k, v in self.scanner_params.items()}}
docs: Add a scanner parameter.