Updated to work with latest Laravel 4 Beta