Added param validator for an allowed list of values.