Added support for Date.