Copying templates from hermes-doc.