Work under Python 2 again.