Add interop to get dependencies of a task.