API simplification: appId removed