Tweak the `template` IIFE.