This can be replaced with `-isKindOfClass:`.