Remove unnecessary auto-generated code