Changed TimePeriod to contain only StartDate and EndDate.