Add rudimentary support for DOCTYPE definitions.