Added comments to Alerts.java