Remove unused isHtml method.