A more composable wrapper for APC