Add classnames to tasks