Update to allow for use with Laravel 4.1