Make it backwards compatible with Python 2 again.