reset () {
    if (this.state.doc) {
      this.state.doc.dispose()
    }
    this.state.reset()
    this.state.doc = this._createDocument()
  }
Resets this importer.

Make sure to either create a new importer instance or call this method
when you want to generate nodes belonging to different documents.