docs: function (sectionParam, sectionConstructor) {
  
                  var newSection = new sectionConstructor(this.tplCtxt, sectionParam);
  
                  if (!newSection.cfgOk) {
                      // TODO: log error
                      newSection.$dispose();
                      newSection = new ariaTemplatesSection(this.tplCtxt, {});
                  }
  
                  if (this._currentSection) {
                      this._currentSection.addSubSection(newSection); // add the section to its parent
                  }
                  // only set the id after the section has been added to its parent
                  newSection.writeBegin(this);
                  // Update current section with new created section
                  this._currentSection = newSection;
                  newSection.writeContent(this);
              }