Refactored alert and notice messages