Added add_new_child API functionality