Implement a way to apply filters to text (that is stored in a TextContent container).