Nodify doctypes, fix #43