Remove EOF newline. These are explicit in snippets.
Another attempt at removing EOF newline.