diff --git a/src/FileDownloadEntityListBuilder.php b/src/FileDownloadEntityListBuilder.php
index da970fc..db24e18 100644
--- a/src/FileDownloadEntityListBuilder.php
+++ b/src/FileDownloadEntityListBuilder.php
@@ -4,7 +4,7 @@ namespace Drupal\file_download_tracker;
 
 use Drupal\Core\Entity\EntityInterface;
 use Drupal\Core\Entity\EntityListBuilder;
-use Drupal\Core\Routing\LinkGeneratorTrait;
+use Drupal\Core\Link;
 use Drupal\Core\Url;
 
 /**
@@ -14,8 +14,6 @@ use Drupal\Core\Url;
  */
 class FileDownloadEntityListBuilder extends EntityListBuilder {
 
-  use LinkGeneratorTrait;
-
   /**
    * {@inheritdoc}
    */
@@ -31,7 +29,7 @@ class FileDownloadEntityListBuilder extends EntityListBuilder {
   public function buildRow(EntityInterface $entity) {
     /* @var $entity \Drupal\file_download_tracker\Entity\FileDownloadEntity */
     $row['id'] = $entity->id();
-    $row['name'] = $this->l(
+    $row['name'] = Link::fromTextAndUrl(
       $entity->label(),
       new Url(
         'entity.file_download_entity.edit_form', array(
