Support Python 3 using six