Define document types (ref #119)