Changed constructors' HtmlElement argument to HtmlMidNode