Remove |unused| field from DOMClass.(fixes #1960)

see #1960