Remove `text` from directive state object.

Closes #189.