Adding notice, warning and error messages.