Clean up language related modes