Fix for Laravel 4.1

Issue #1
Merge pull request #2 from noxify/patch-1

Fix for Laravel 4.1