Laravel 4.1 Compatability

Bugfixes for Laravel 4.1