Remove unnecessary imports in DatePair, Logic and Task