We can directly inherit from TreeMap no need for HTMLElement