Create a new Template Function.