Add support for switch type c