Removing auto generated code