PHP class domj extends DOMDocument with extras