Added parsing support for datetime objects