isolatedContainer should know what not to instantiate

No reason to make people write this boilerplate themselves, right?