Updated ServiceProvider to work with Laravel