Fix usage of DedicatedApi