Updating for Laravel 4.2 compatibility.