Make all *_new functions set the parent to NULL automatically