Add constructor for switch config messages