The solution should also include making classes more interesting. That's another reason to avoid a class: it sounds boring. And what doesn't sound boring when it's in the context of signing away your time at specific hours every week for half a year and committing yourself to homework assignments and exams? I realize this isn't directly relevant to the trends in sciences vs. humanities, but it may be that when the whole paradigm is so dull people feel more incentivized to just choose the easiest path.