Investing in smaller classes and better teachers attracts wide support.