Added support for laravel 4