you should not need to do this. remove `nunjucks.compat` and just import `templates` as `nunjucks`