Refactor Web.TED module, replace String with Text.
Update cabalfile.