Fixing #21, handing root being 'DocumentType'