Added each method to NodeCollection