Added duration module to  task.