Adding a text structure class which describes the order and structure of a text. This class is now an attribute of a text object