moved StringLength annotation to shared module