Made core graph functions methods on Tasks.