A wrapper for the CXP api