SwitchImpl now uses new unpacking api
Removing deprecated and not anymore used util function.