Python 2 version.