Improve Line and newline. Fix tests.