Support for Python2 through the six.moves trick