Added usefull method nodeByType, returning all nodes having the same type