Sethvargo/cook 2646

Parameterize template_mode, template_owner, and temlate_group