callbacks: add docstrings