Remove some spurious newlines from the generated code.