Fix toplevel class vs module