code: function(params, callback) {
        var t = this;
        if (typeof(params) !== 'string' || params.length < 1) {
          callback("Autocomplete paramter must be a nonzero string");
        }
  
        // Forward to the completion mechanism if it can be completed
        if (params.substr(-1).match(/([0-9])|([a-z])|([A-Z])|([_])/)) {
          t.repl.complete(params, callback);
        } else {
          // Return a no-op autocomplete
          callback(null, [[],'']);
        }
      }
docs: Process an autocomplete request from the client
  
  @method autocomplete
  @param {Object} params Named parameters
  @param {Function(error, returnParams)} callback Callback function