Add typing information to xmldom.XPath.