Remove some of the unnecessary whitespace in generated code