Better info.
Fix so that doctype is not written if anonymous type.