[fix] Define a callback.