you can use the method `raw_toplevel_registry` here