Added segment.io python interface.