Update to new removeParent API.
Update to new removeParent API.

hsorby/libcellml,nickerso/libcellml,nickerso/libcellml,hsorby/libcellml,MichaelClerx/libcellml,MichaelClerx/libcellml,hsorby/libcellml,cellml/libcellml,cellml/libcellml,cellml/libcellml,nickerso/libcellml,cellml/libcellml,hsorby/libcellml,nickerso/libcellml,MichaelClerx/libcellml