Doctype fixes