Split NodeCommon into separate files.