Reformat whitespace.
Move GetParentedNode from generated code to library.
Call SyncImmediateChildToCurrentVersion in Remove collection helper methods.