How to prevent spam notifications.