Init reorganization, fix for registering Jinja filters.