code: function plugin(plugins) {
        var z, method, conf;
        for(z in plugins) {
          if(typeof plugins[z] === 'function') {
            method = plugins[z];
          }else{
            method = plugins[z].plugin;
            conf = plugins[z].conf;
          }
          if(opts.field && typeof method[opts.field] === 'function') {
            method = method[opts.field];
          }
          method.call(proto, conf);
        }
        return main;
      }
docs: Plugin method.
  
  @param plugins Array of plugin functions.