docs: function getTemplateSource(intentObj) {
      if(intentObj.hasRawResult()) return;
      let isError = intentObj.hasError(),
        templateName;
      // FIRST, we check for error templates.
      if(isError) {
        let errorObj = intentObj.error(),
          statusCode = errorObj.statusCode;
        for(let i=0; i < this.renderTemplates.error.length; i++) {
          let item = this.renderTemplates.error[i];
          // check for status frist,
          if(item.status === statusCode) {
            templateName = getTemplateFromItem(item, intentObj);
            break;
          }
          // get the default one.
          if(!item.status) {
            templateName = getTemplateFromItem(item, intentObj);
            break;
          }
        }
        if(!templateName) {
          templateName = getTemplateFromItem(this.renderTemplates.all, intentObj); //return the all or none.
        }
        if(templateName) {
          // IF we have a template, we have to run the before handler.
          this._runHandler('before', 'render', intentObj, templateName);
        }
        return templateName
      }
      // IF we have a success, return the first one from success.
      if(this.renderTemplates.success) {
        let sTemplate = getTemplateFromItem(this.renderTemplates.success, intentObj);
        if(!sTemplate) {
          sTemplate = getTemplateFromItem(this.renderTemplates.all, intentObj);
        }
        if(sTemplate) {
          this._runHandler('before', 'render', intentObj, sTemplate);
        }
        return sTemplate;
      }
      // Fallback, return the all one, if any.
      let aTemplate = getTemplateFromItem(this.renderTemplates.all, intentObj);
      if(aTemplate) {
        this._runHandler('before', 'render', intentObj, aTemplate);
      }
      return aTemplate;
    }