Add a new DOMHandler class for DOM tree processing.