Added basic support for a date component.