Added defs for HTML parser