compatibility with Laravel 4.1
Merge pull request #16 from terion-name/master

[important!] Compatibility with Laravel 4.1