Support Date object (in a slightly hacky way)
3.1.0