Adding Jinja2 integration code.