Added IPython Notebook support