Added startDate and endDate attributes.