Working with templates.