Refactored methods in HtmlParser so no need to pass Document in each time - must call parse first, then getters