Move jinja loader stuff from indico