Merge Task into Node and simplify its interface