After further inspection, `state` is always set to `'all'` so its not needed.