StringLengthAttributeFactory and NumberRangeAttributeFactory have been changed.