Extracting WorkPeriodFilter class from Work class.