code: function load(method, config) {
    return function(patterns, options) {
      var opts = mergeOptions(this, config, options);
      var loader = createLoader(opts, this[method]);
      return loader.apply(this, arguments);
    };
  }
docs: Create a function for loading views using the given
  `method` on the collection or app.