The plugin now keeps track of the win state.