Array.prototype.slice.call(arguments).forEach(function(argument) {
        if (argument) {
          uri += '/' + argument;
        }
      });