Implemented Node validation.