And more validations for warnings and notices