Fixed get-doctypes