Fixed the NullPointerException in RootNode instances when trying to access this.root.