Added support for dates.