Added Laravel 5 compatibility