Coverted 2014 to Jinja templates.