Defer creating the Python objects until after appending is finished because NodeTree's types are not initialized until then.