If you're going to split these out, this `isinstance()` check is redundant.