Utility functions for IPython on Sense