Check for class

call set node defaults investigator only if root
is an Investigator (otherwise error was being raised)