docs: function(params, transition) {
          var match, name, sawParams, value;
  
          var queryParams = get(this, '_qp.map');
  
          for (var prop in params) {
            if (prop === 'queryParams' || (queryParams && prop in queryParams)) {
              continue;
            }
  
            if (match = prop.match(/^(.*)_id$/)) {
              name = match[1];
              value = params[prop];
            }
            sawParams = true;
          }
  
          if (!name && sawParams) { return copy(params); }
          else if (!name) {
            if (transition.resolveIndex < 1) { return; }
  
            var parentModel = transition.state.handlerInfos[transition.resolveIndex-1].context;
  
            return parentModel;
          }
  
          return this.findModel(name, value);
        }