docs: def _create_bundle(self, version):
          """
          Initialise NIDM-Results bundle.
          """
          # *** Bundle entity
          if not hasattr(self, 'bundle_ent'):
              self.bundle_ent = NIDMResultsBundle(nidm_version=version['num'])
  
          self.bundle = ProvBundle(identifier=self.bundle_ent.id)
  
          self.bundle_ent.export(self.version, self.export_dir)
  
          # # provn export
          # self.bundle = ProvBundle(identifier=bundle_id)
  
          self.doc.entity(self.bundle_ent.id,
                          other_attributes=self.bundle_ent.attributes)
  
          # *** NIDM-Results Export Activity
          if version['num'] not in ["1.0.0", "1.1.0"]:
              if not hasattr(self, 'export_act'):
                  self.export_act = NIDMResultsExport()
              self.export_act.export(self.version, self.export_dir)
              # self.doc.update(self.export_act.p)
              self.doc.activity(self.export_act.id,
                                other_attributes=self.export_act.attributes)
  
          # *** bundle was Generated by NIDM-Results Export Activity
          if not hasattr(self, 'export_time'):
              self.export_time = str(datetime.datetime.now().time())
  
          if version['num'] in ["1.0.0", "1.1.0"]:
              self.doc.wasGeneratedBy(entity=self.bundle_ent.id,
                                      time=self.export_time)
          else:
              # provn
              self.doc.wasGeneratedBy(
                  entity=self.bundle_ent.id, activity=self.export_act.id,
                  time=self.export_time)
  
          # *** NIDM-Results Exporter (Software Agent)
          if version['num'] not in ["1.0.0", "1.1.0"]:
              if not hasattr(self, 'exporter'):
                  self.exporter = self._get_exporter()
              self.exporter.export(self.version, self.export_dir)
              # self.doc.update(self.exporter.p)
              self.doc.agent(self.exporter.id,
                             other_attributes=self.exporter.attributes)
  
              self.doc.wasAssociatedWith(self.export_act.id, self.exporter.id)