Change behavior getDocType()

And add docType() to Tag