Make this compatible with Python 3.