Add base classes for node value validation.