API Wrapper for the XChange library