Added comment block to template function.