Add some getter and setter to DelegateTask.