Added methods for creation of alerts declarations.