Text types are represented by strings.

Text types should be represented by strings, not vectors of char. I
don't know what I was thinking.