Fixed documentation in Task