Implement callback.