code: function (type, name, callback) {
        if (type === 'modifier') {
          this.modifiers[name] = callback
        } else {
          this.plugins[name] = {'type': type, 'process': callback}
        }
      }
docs: Register a plugin.