emit doc_type too in fluff/generic