Fix forward snippet
Add templated function snippet
Add templated function, changed activation for auto templated function