Added documentation for sendNotification() and improved consistency of other documentation.