Fix mismatched API prototypes in queue services