Adding: document generation infrastructure