Refactor multi-realm isolation.