Added a template sample.