MOD:  refactor and add CallbackTask.