Adjust Alerts API to upstream version