Basic templating done.