Remove some unused generated code