Switched templates from mako to jinja.