Smart mode line.