diff --git b/core/modules/user/lib/Drupal/user/Controller/UserController.php a/core/modules/user/lib/Drupal/user/Controller/UserController.php
index 1254060..bace8ed 100644
--- b/core/modules/user/lib/Drupal/user/Controller/UserController.php
+++ a/core/modules/user/lib/Drupal/user/Controller/UserController.php
@@ -7,7 +7,7 @@
 
 namespace Drupal\user\Controller;
 
-use Drupal\Core\Entity\EntityInterface;
+use Drupal\Core\Entity\UserInterface;
 use Drupal\user\Form\UserLoginForm;
 use Drupal\Component\Utility\Xss;
 use Symfony\Component\DependencyInjection\ContainerAware;
@@ -46,13 +46,13 @@ public function userPage(Request $request) {
   /**
    * Route title callback.
    *
-   * @param \Drupal\Core\Entity\EntityInterface $user
+   * @param \Drupal\Core\Entity\UserInterface $user
    *   The user account.
    *
    * @return string
    *   The user account name.
    */
-  public function userTitle(EntityInterface $user = NULL) {
+  public function userTitle(UserInterface $user = NULL) {
     return $user ? Xss::filter($user->getUsername()) : '';
   }
 
diff --git b/core/modules/user/user.module a/core/modules/user/user.module
index b85d0e7..20d55c6 100644
--- b/core/modules/user/user.module
+++ a/core/modules/user/user.module
@@ -1368,18 +1368,6 @@ function user_delete_multiple(array $uids) {
 }
 
 /**
- * Page callback wrapper for user_view().
- */
-function user_view_page($account) {
-  if (is_object($account)) {
-    return user_view($account);
-  }
-  // An administrator may try to view a non-existent account,
-  // so we give them a 404 (versus a 403 for non-admins).
-  throw new NotFoundHttpException();
-}
-
-/**
  * Generate an array for rendering the given user.
  *
  * When viewing a user profile, the $page array contains:
