BF: For IPython versions <3