Change API->* calls to OBS* calls (see APIInterface.h and APIDefs.cpp