Reworked templates for `auto-insert-mode'.