Added generics to NodeList
Added generics to NodeList