Add support for parsing dates