Check Document::$componentMap when parsing document.
Namespace default classes
Merge pull request #60 from tanghus/use_componentMap

Check Document::$componentMap when parsing document.