Testing the switch feature.
Adding some logs.
Adjusting the parsing of the switch nodes.