Remove some IPython entry points.
Add close method to Context.