Fix trailing newline in keywords