https://github.com/franciscofranco/mako/commit/0c0ebbdcd8a264f50e3aaf9afe08baf5162df335