Added support for date input type.