Refactor text.