Final line ending cleanup.