Add support for defining top attributes for a string. These affect the whole parsed string