Adding methods based on instructions for laravel 4.1.26 http://laravel.com/docs/upgrade#upgrade-4.1.26