Clean up generated C# code.