RequiredRestriction and StringLengthRestriction attributes have been introduced