Support ipython.