Added fields definitions validation, for fields and groups.