Basic support for python2