Decomposition of codegen classes.