Custom Text Templating Host from http://msdn.microsoft.com/en-us/library/bb126579.aspx.