Add the validation to avoid field multiple definition.
Add the warning "field is hidding an inherited field".