Removing auto-generated code