Extract pure functions from impure ones, preparation for refactor.
- paragraphs-overflowing