Adding documentation for callback