Adding notebook support for Ipython