Adapter helper commitChanges is now generic