cleanup stage0 impls/cfgs