Compat with all versions of Python 3.