if (this.instance.selections[i].settings.className) {
        classNames.push(this.instance.selections[i].settings.className);
      }