Modifications for Laravel 4.2