added Date type to data inference.