Adding enum to validation errors.

No issue.