In simple cases, it is sufficient to provide replacement components as keyword arguments to the Text constructor.
miscellaneous use cases may benefit from subclassing the Text class and develop the custom behaviour directly into it.