Added possibility to reverse task.