Added custom callback.