Added documentation for the two new callbacks