document a bit the use of templates.