Added functions for alerts messages.