Fixed laravel 4.2 issues.