Switch order of args to doctype()
Fix up comments and POD