Added support for doctypes.