Validators were moved to the interfaces, because we have to use them in UI.