diff --git a/modules/sms_user/sms_user.module b/modules/sms_user/sms_user.module
index e228dee..d625cec 100644
--- a/modules/sms_user/sms_user.module
+++ b/modules/sms_user/sms_user.module
@@ -309,8 +309,7 @@ function sms_user_user_update($account) {
 /**
  * Implements hook_user_view().
  */
-//function sms_user_user_view(AccountInterface $account, $display, $view_mode, $langcode) {
-function sms_user_user_view(array &$build, UserInterface $account, EntityViewDisplayInterface $display, $view_mode, $langcode) {
+function sms_user_user_view(array &$build, UserInterface $account, EntityViewDisplayInterface $display, $view_mode) {
   $account = \Drupal::currentUser();
   if ($account->hasPermission('receive sms') && ($account->id() == $account->id() || $account->hasPermission('administer smsframework'))) {
     if (isset($account->sms_user['status']) && $account->sms_user['status'] == SMS_USER_PENDING) {
diff --git a/src/Gateway/GatewayManager.php b/src/Gateway/GatewayManager.php
index e865dc3..d2d0a5f 100644
--- a/src/Gateway/GatewayManager.php
+++ b/src/Gateway/GatewayManager.php
@@ -11,7 +11,6 @@ use Drupal\Core\Cache\CacheBackendInterface;
 use Drupal\Core\Config\ConfigFactory;
 use Drupal\Core\Extension\ModuleHandlerInterface;
 use Drupal\Core\Plugin\DefaultPluginManager;
-use Drupal\Core\StringTranslation\TranslationWrapper;
 
 /**
  * Manages SMS gateways implemented using AnnotatedClassDiscovery
@@ -235,7 +234,7 @@ class GatewayManager extends DefaultPluginManager implements GatewayManagerInter
       // @todo Is that acceptable?
       $definitions[$id] = [
         'id' => $id,
-        'label' => new TranslationWrapper($hook_info['name']),
+        'label' => $hook_info['name'],
         'configurable' => is_callable($hook_info['configure form']),
         'class' => '\Drupal\sms\Gateway\HookGateway',
         'provider' => 'sms',
