Stat switching support.