docs: function url(label, options) {
      switch (label) {
      case "activations":
          return url(options).segment("activations");
      case "advertLocations":
          return url(options).segment("adlocations");
      case "bannerAdverts":
          return url(options).segment("bannerads");
      case "campaigns":
          return url(options).segment("campaigns");
      case "contactUs":
          return url(options).segment("contactus");
      case "countries":
          return url(options).segment("countries");
      case "directions":
          return url(options).segment("directions");
      case "drivingReports":
          return url(options).segment("drivingreports");
      case "driveTypes":
          return url(options).segment("drivetypes");
      case "externalStream":
          return url(options).segment("externalstream");
      case "images":
          return url(options).segment("images/encoded");
      case "listedAdverts":
          return url(options).segment("ads");
      case "news":
          return url(options).segment("news");
      case "places":
          return url(options).segment("places");
      case "severity":
          return url(options).segment("severities");
      case "sseDrivingReports":
          return url(options).segment("ssedrivingreports");
      case "sseTrafficUpdates":
          return url(options).segment("ssetrafficupdates");
      case "towns":
          return url(options).segment("towns");
      case "trafficUpdates":
          return url(options).segment("trafficupdates");
      case "users":
          return url(options).segment("users");
      default:
          options = options || { };
          if (label && typeof label === "object") {
              options = label;
              label = null;
          }
          // Proxy URLs always override the default ones
          var topLevel = options.proxy || SETTINGS.proxy || (options.apiVersion === 3 ?
                  SETTINGS.baseurlv3 :
                  SETTINGS.baseurl);
          var uri = URI(topLevel);
          if (label) return uri.segment(label);
          return uri;
      }
  }