How to enable / disable alerts.