@stof is there a way to reuse the logic from the ``ScalarNode`` class?