Make NodeValidator injectable