Removed useless usage of WorkDurationFactory