Remove obsolete node management code and type defines