Add callbacks to docs of function signatures