Simple template engine.