Adjusted import in ext/ipython.py.