Laravel 4.1 compat fix