Add support for warning-level messages.