Fix import for Python3