Update for IPython 1.0