Warning enum updated and WarningType added