Add notification functions.