Levels are zero-based in the cpp export.