diff --git a/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
index 39f9ceb..f874f6a 100644
--- a/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
+++ b/core/lib/Drupal/Core/EventSubscriber/SpecialAttributesRouteSubscriber.php
@@ -57,7 +57,7 @@ protected function alterRoutes(RouteCollection $collection, $module) {
    */
   public function onAlterRoutes(RouteBuildEvent $event) {
     $collection = $event->getRouteCollection();
-    return $this->alterRoutes($collection, $event->getModule());
+    return $this->alterRoutes($collection, $event->getProvider());
   }
 
 }
diff --git a/core/lib/Drupal/Core/Routing/MatcherDumper.php b/core/lib/Drupal/Core/Routing/MatcherDumper.php
index 72c0bee..83d8af5 100644
--- a/core/lib/Drupal/Core/Routing/MatcherDumper.php
+++ b/core/lib/Drupal/Core/Routing/MatcherDumper.php
@@ -77,8 +77,8 @@ public function addRoutes(RouteCollection $routes) {
    * Dumps a set of routes to the router table in the database.
    *
    * Available options:
-   * - route_set:  The route grouping that is being dumped. All existing
-   *   routes with this route set will be deleted on dump.
+   * - provider: The route grouping that is being dumped. All existing
+   *   routes with this provider will be deleted on dump.
    * - base_class: The base class name.
    *
    * @param array $options
@@ -86,13 +86,13 @@ public function addRoutes(RouteCollection $routes) {
    */
   public function dump(array $options = array()) {
     $options += array(
-      'route_set' => '',
+      'provider' => '',
     );
 
     // Convert all of the routes into database records.
     $insert = $this->connection->insert($this->tableName)->fields(array(
       'name',
-      'route_set',
+      'provider',
       'fit',
       'path',
       'pattern_outline',
@@ -105,7 +105,7 @@ public function dump(array $options = array()) {
       $compiled = $route->compile();
       $values = array(
         'name' => $name,
-        'route_set' => $options['route_set'],
+        'provider' => $options['provider'],
         'fit' => $compiled->getFit(),
         'path' => $compiled->getPath(),
         'pattern_outline' => $compiled->getPatternOutline(),
@@ -115,18 +115,18 @@ public function dump(array $options = array()) {
       $insert->values($values);
     }
 
-    // Delete any old records in this route set first, then insert the new ones.
+    // Delete any old records in this provider first, then insert the new ones.
     // That avoids stale data. The transaction makes it atomic to avoid
     // unstable router states due to random failures.
     $txn = $this->connection->startTransaction();
 
     $this->connection->delete($this->tableName)
-      ->condition('route_set', $options['route_set'])
+      ->condition('provider', $options['provider'])
       ->execute();
 
     $insert->execute();
 
-    // We want to reuse the dumper for multiple route sets, so on dump, flush
+    // We want to reuse the dumper for multiple providers, so on dump, flush
     // the queued routes.
     $this->routes = NULL;
 
diff --git a/core/lib/Drupal/Core/Routing/RouteBuildEvent.php b/core/lib/Drupal/Core/Routing/RouteBuildEvent.php
index 017b83a..502318d 100644
--- a/core/lib/Drupal/Core/Routing/RouteBuildEvent.php
+++ b/core/lib/Drupal/Core/Routing/RouteBuildEvent.php
@@ -23,18 +23,18 @@ class RouteBuildEvent extends Event {
   protected $routeCollection;
 
   /**
-   * The module name that provides the route.
+   * The provider of this route collection.
    *
    * @var string
    */
-  protected $module;
+  protected $provider;
 
   /**
    * Constructs a RouteBuildEvent object.
    */
-  public function __construct(RouteCollection $route_collection, $module) {
+  public function __construct(RouteCollection $route_collection, $provider) {
     $this->routeCollection = $route_collection;
-    $this->module = $module;
+    $this->provider = $provider;
   }
 
   /**
@@ -45,10 +45,10 @@ public function getRouteCollection() {
   }
 
   /**
-   * Gets the module that provides the route.
+   * Gets the provider for this route collection.
    */
-  public function getModule() {
-    return $this->module;
+  public function getProvider() {
+    return $this->provider;
   }
 
 }
diff --git a/core/lib/Drupal/Core/Routing/RouteBuilder.php b/core/lib/Drupal/Core/Routing/RouteBuilder.php
index 7e5ebef..a25103d 100644
--- a/core/lib/Drupal/Core/Routing/RouteBuilder.php
+++ b/core/lib/Drupal/Core/Routing/RouteBuilder.php
@@ -100,7 +100,7 @@ public function rebuild() {
 
       $this->dispatcher->dispatch(RoutingEvents::ALTER, new RouteBuildEvent($collection, $module));
       $this->dumper->addRoutes($collection);
-      $this->dumper->dump(array('route_set' => $module));
+      $this->dumper->dump(array('provider' => $module));
     }
 
     // Now allow modules to register additional, dynamic routes.
@@ -108,7 +108,7 @@ public function rebuild() {
     $this->dispatcher->dispatch(RoutingEvents::DYNAMIC, new RouteBuildEvent($collection, 'dynamic_routes'));
     $this->dispatcher->dispatch(RoutingEvents::ALTER, new RouteBuildEvent($collection, 'dynamic_routes'));
     $this->dumper->addRoutes($collection);
-    $this->dumper->dump(array('route_set' => 'dynamic_routes'));
+    $this->dumper->dump(array('provider' => 'dynamic_routes'));
 
     $this->lock->release('router_rebuild');
   }
diff --git a/core/lib/Drupal/Core/Routing/RouteSubscriberBase.php b/core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
index 615a820..82b2643 100644
--- a/core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
+++ b/core/lib/Drupal/Core/Routing/RouteSubscriberBase.php
@@ -20,7 +20,7 @@
    * Provides new routes by adding them to the collection.
    *
    * Subclasses should use this method and add \Symfony\Component\Routing\Route
-   * objects with $collection->add($route);.
+   * objects with $collection->add('route_name', $route);.
    *
    * @param \Symfony\Component\Routing\RouteCollection $collection
    *   The route collection for adding routes.
@@ -33,11 +33,11 @@ protected function routes(RouteCollection $collection) {
    *
    * @param \Symfony\Component\Routing\RouteCollection $collection
    *   The route collection for adding routes.
-   * @param string $module
-   *   The module these routes belong to. For dynamically added routes, the
-   *   module name will be 'dynamic_routes'.
+   * @param string $provider
+   *   The provider these routes belong to. For dynamically added routes, the
+   *   provider name will be 'dynamic_routes'.
    */
-  protected function alterRoutes(RouteCollection $collection, $module) {
+  protected function alterRoutes(RouteCollection $collection, $provider) {
   }
 
   /**
@@ -68,7 +68,7 @@ public function onDynamicRoutes(RouteBuildEvent $event) {
    */
   public function onAlterRoutes(RouteBuildEvent $event) {
     $collection = $event->getRouteCollection();
-    $this->alterRoutes($collection, $event->getModule());
+    $this->alterRoutes($collection, $event->getProvider());
   }
 
 }
diff --git a/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php b/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
index 740d4a0..9898639 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Routing/MatcherDumperTest.php
@@ -128,7 +128,7 @@ public function testDump() {
 
     $this->fixtures->createTables($connection);
 
-    $dumper->dump(array('route_set' => 'test'));
+    $dumper->dump(array('provider' => 'test'));
 
     $record = $connection->query("SELECT * FROM {test_routes} WHERE name= :name", array(':name' => 'test_route'))->fetchObject();
 
diff --git a/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php b/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php
index 06f0953..6243141 100644
--- a/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php
+++ b/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php
@@ -137,8 +137,8 @@ public function routingTableDefinition() {
           'not null' => TRUE,
           'default' => '',
         ),
-        'route_set' => array(
-          'description' => 'The route set grouping to which a route belongs.',
+        'provider' => array(
+          'description' => 'The provider grouping to which a route belongs.',
           'type' => 'varchar',
           'length' => 255,
           'not null' => TRUE,
@@ -177,7 +177,7 @@ public function routingTableDefinition() {
       'indexes' => array(
         'fit' => array('fit'),
         'pattern_outline' => array('pattern_outline'),
-        'route_set' => array('route_set'),
+        'provider' => array('provider'),
       ),
       'primary key' => array('name'),
     );
diff --git a/core/modules/system/tests/modules/router_test_directory/lib/Drupal/router_test/RouteTestSubscriber.php b/core/modules/system/tests/modules/router_test_directory/lib/Drupal/router_test/RouteTestSubscriber.php
index cc63d39..e658b11 100644
--- a/core/modules/system/tests/modules/router_test_directory/lib/Drupal/router_test/RouteTestSubscriber.php
+++ b/core/modules/system/tests/modules/router_test_directory/lib/Drupal/router_test/RouteTestSubscriber.php
@@ -51,7 +51,7 @@ public function dynamicRoutes(RouteBuildEvent $event) {
    *   The altered route collection.
    */
   public function alterRoutes(RouteBuildEvent $event) {
-    if ($event->getModule() == 'router_test') {
+    if ($event->getProvider() == 'router_test') {
       $collection = $event->getRouteCollection();
       $route = $collection->get('router_test.6');
       // Change controller method from test1 to test5.
