Quick fix for problems with Laravel 4.1

Laravel went up to 4.1 and this is a quick fix for updating a project which using this package