Adds documentation about callbacks