Limit switches and connectors