Remove variables exported from case statements