docs: function(inlineStr) {
      if(/^Inline Model \d+$/.test(inlineStr) && this.inlineModels) {
        var id = parseInt(inlineStr.substr('Inline Model'.length).trim(),10); //
        var model = this.inlineModels[id];
        return model;
      }
      // I'm returning null here, should I rather throw an error?
      return null;
    }