Changed stuff to <T extends Node>