Create helper class to create documents from templates.