Adding IPython magic autoreload functionality.