This fixes #7644.  The template is now settable.