Callbacks in docs fixed