Making the enum validator work directly over EnumeratedStringAttributes.