Setting serialization for switch features.