Add DocExport templates, slightly clarify usage; fixes #1