Create the Text class and spec