docs: function(service)
      {
          var moduleName = this.moduleName = 'I' + service.serviceName;
          this.append('module.exports = ' + moduleName +
              ' = require(\'typedef\')');
          this.addBreak(2);
          this.addDisclaimer();
          this.addBreak();
          this.addComment(service.description);
          this.append('.interface(\'' + moduleName + '\') .define({');
          this.addBreak();
  
  	    var processedMethods = [];
          service.methods.forEach(function(method, index) {
  	        if (processedMethods.indexOf(method.name) >= 0) {
  		        return;
  	        }
  	        processedMethods.push(method.name);
              if (index) this.code += ',\n';
              this.addMethod(method);
          }.bind(this));
  
          this.addBreak(2);
          this.append('});');
      }