Fix Laravel 5 support