[index] Add missing base classes to raw nodes.