Add code snippets for template