Removing generated code