new class as NodeConfig.