Added missing type hinting for  in setDomNodeContent.