How do notifications work?