Fix for the new laravel.