Support laravel 4.1 as well as 4.0