Remove unused generated code