Moving `self`-related prims to a `SelfPrims` class
Removing unused imports
Delegating `patch` prim implementation to `world.getPatchAt`