Add api hooks to the not-yet created cloudClient class