Check Document::$componentMap when parsing document.