Adding methods to enable and disable alert types.