Update docstrings for TextItem