Remove reference to parent.