Refactoring getHTMLFactory() -> adapt(HTMLFactory.class)