Add more documentation around callbacks.