Use :text instead of :string where needed.

Fixes #11