Necessary changes for Laravel 4.1.26