Clean generated code