Replace `is instance or` with a tuple of types.

I have reverted this section.