Abstracted to createRootNode