Add callback sample.