Uses auto-insert-mode boilerplate.