docs: function (template) {
  	if (template.attachments) {
  		this.attachments = getCompiledArr( template.attachments );
  	} else {
  		this.attachments = [];
  	}
  	delete template.attachments;
  	delete template.attachment;
  	this.src = template;
  	this.compiled = getCompiledObj( this.src );
  }