Added date picker and support for more field types.