DUNE/Tasks: removed redundant state variables.