Renamed on_start_doctype to on_doctype_start.