diff --git a/src/Providers/GeocoderService.php b/src/Providers/GeocoderService.php
index <HASH>..<HASH> 100644
--- a/src/Providers/GeocoderService.php
+++ b/src/Providers/GeocoderService.php
@@ -46,8 +46,7 @@ class GeocoderService extends ServiceProvider
      */
     public function register()
     {
-        AliasLoader::getInstance()->alias('Geocoder', Geocoder::class);
-
+        $this->app->alias('Geocoder', Geocoder::class);
         $this->app->singleton('geocoder', function () {
             $geocoder = new ProviderAndDumperAggregator();
             $geocoder->registerProviders(
Fixed alias loading to be Lumen-compatible