Have getNodeInfoFromInput return a class object
Have getNodeInfoFromModifier also use the new class object