Moved chunk_section() from text.py to _base.py