Export diffChildren and applyChildrenPatch functions