docs: function directory() {
    var args = mlutil.asArray.apply(null, arguments);
  
    var uris = [];
    var infinite = null;
    var arg = null;
    for (var i=0; i < args.length; i++) {
      arg = args[i];
      if (infinite === null && (typeof arg === 'boolean')) {
        infinite = arg;
      } else if (arg instanceof Array){
        Array.prototype.push.apply(uris, arg);
      } else {
        uris.push(arg);
      }
    }
  
    return new DirectoryQueryDef(
        new UrisDef(uris, infinite)
        );
  }