Improvements to Datepicker.