docs: function(name, filter) {
  
          var data = {};
  
          // Call this method with only a filter function to define an unnamed filter.
          //
          //     this.addRequestFilter(function(options) {
          //       options.url = options.url + '/suffix';
          //       return options;
          //     });
          if (typeof(name) == 'function') {
            data = { filter: name };
  
          } else {
            this.removeRequestFilters(name);
            data = { name: name, filter: filter };
          }
  
          this.requestFilters.push(data);
        }