Added modified ipython directives [skip ci].