Clean up modeline.