Added support for setting custom node validators