isolate top-level class