Added template engine.