Allow array of types for validation