More generated code pruning