Fix for upgrade to Laravel 4.1.26