Prepare templates for paper.