Make it work with Laravel 4.1