Update to work with Laravel 4.