Add basic templating