Uses up-to-date document template.