Changes for new native date handling.