Fix extension functions to pass parameters in additon to item and collection.