Updated extensions for Python3