Basic python2 support