DOC: added docstrings for Text and Image states