Ensuring doctype.