Why not just ```env_map.erase(name)```?