Add static helper for jinja2