Fix to be Laravel 5 compatible (as of 13-12-14)