Factored all `localStorage` uses into internal API