Remove ToElement method from MarkupAccumulator.