Simplify, extract common validationFns