Change repeated arguments from one type to a list of types to support ca...

...se function.
I might break the line differently, since it looks kind of like the if stands on its own.