Updated IPython extension to use _activity_buffer instead of Activity