Removed text model and related types and their usages.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>