Add conditional plumbing to NodeDefinition