Add date class.