Keeps things working when you upgrade mypy versions. The other way of solving this problem is in #208