Update to keep compatibility with Laravel 4.2