Enhancing method signature of HtmlIndex