Systematic routes to improved approximations in Kohn–Sham theory