Updated MarkupTextRepository and its usage.