diff --git a/src/Form/MothermayiSettingsForm.php b/src/Form/MothermayiSettingsForm.php
index 33c90f6..09ff5a0 100644
--- a/src/Form/MothermayiSettingsForm.php
+++ b/src/Form/MothermayiSettingsForm.php
@@ -4,6 +4,8 @@ namespace Drupal\mothermayi\Form;
 
 use Drupal\Core\Form\ConfigFormBase;
 use Drupal\Core\Form\FormStateInterface;
+use Drupal\Core\Link;
+use Drupal\Core\Url;
 
 class MothermayiSettingsForm extends ConfigFormBase {
 
@@ -19,9 +21,9 @@ class MothermayiSettingsForm extends ConfigFormBase {
    */
   public function submitForm(array &$form, FormStateInterface $form_state) {
     $config = $this->config('mothermayi.settings');
-    
+
     // TODO: We ought to clear the user registration form from the cache
-    // any time changes are made in mothermany settings. captcha does that 
+    // any time changes are made in mothermany settings. captcha does that
     // if you're also using it. But maybe not everyone is.
 
     $vars = array(
@@ -57,14 +59,14 @@ class MothermayiSettingsForm extends ConfigFormBase {
   }
 
   public function buildForm(array $form, \Drupal\Core\Form\FormStateInterface $form_state) {
-    
+
     $config = $this->config('mothermayi.settings');
 
     $fs = [
       '#type' => 'fieldset',
       '#title' => $this->t('Secret word'),
       '#description' => $this->t('Specify a site-specific word that potential users must enter before applying for an account. See discussion at @url.', [
-        '@url' => \Drupal::l($this->t('the Drupal Mother May I site'), \Drupal\Core\Url::fromUri('http://drupal.org/project/mothermayi'))
+        '@url' => Link::createFromRoute($this->t('the Drupal Mother May I site'), Url::fromUri('http://drupal.org/project/mothermayi'))
         ]),
     ];
 
@@ -139,7 +141,7 @@ class MothermayiSettingsForm extends ConfigFormBase {
     ];
     return parent::buildForm($form, $form_state);
   }
-  
+
    /**
    * {@inheritdoc}
    */
@@ -170,4 +172,4 @@ class MothermayiSettingsForm extends ConfigFormBase {
     }
   }
 
-}
\ No newline at end of file
+}
