Remove useless mode maps.