Added methods for dealing with alerts