I sent a PR to your repo actually. The idea is much more simple:

- `toggle(..., true) = add(...)`
- `toggle(..., false) = remove(...)`