Added support for laravel 4.1