Fix newline issues for extraction refactorings.