Adding toBase method to Eloquent collection.