DomDocument exists in DOM extension

DomDocument comes actually from DOM extension