Tiny cleanup
Fix: exporting code was unreliable becasue `switch()` was breaking now and then