Make notebook compatible with ipython 0.13.