Clear switches and sockets