AFAICT this branch doesn't solve a problem. dir() works fine even when there is no loaded representation of the resource. If the problem is that dir() shows the object to be of the wrong type, that's a problem that can be fixed in general before the object is created.
AFAICT this branch doesn't solve a problem. dir() works fine even when there is no loaded representation of the resource. If the problem is that dir() shows the object to be of the wrong type, that's a problem that can be fixed in general before the object is created.