Show how you process templates in code.