Support for Python 2