renamed NestedTask, TaskVar to Derived*