docs: function (mml) {
        mml.getComplexity();
        var type = (mml.attr||{})["data-semantic-type"];
        if (type) {
          if (this["Collapse_"+type]) mml = (this["Collapse_"+type])(mml);
          else if (this.COLLAPSE[type] && this.MARKER[type]) {
            var role = mml.attr["data-semantic-role"];
            var complexity = this.COLLAPSE[type];
            if (typeof(complexity) !== "number") complexity = complexity[role] || complexity.default;
            if (mml.complexity > complexity) {
              var marker = this.MARKER[type];
              if (typeof(marker) !== "string") marker = marker[role] || marker.default;
              mml = this.MakeAction(this.Marker(marker),mml);
            }
          }
        }
        return mml;
      }