What troubles me about this is that it has no relevance to an IPython notebook, so segments shouldn't even be involved here.  The IPython notebook class is simply meant to represent an IPython notebook and related functionality--nothing else, nothing to do with our example system.