Allow PDF renderer to use a template