Added minimal example of template pattern.