Remove HTMLDocument class