Fixed trailing whitespace in generated code