Move warning message to the messages file