Python3 import compatibility