Is this intended? We rely a lot on a single `isinstance` check with just `Path`.
Is this intended? We rely a lot on a single
isinstancecheck with justPath.