Improvements to Django core.