Reorder changes in add_child to be correct.