I still do not like defining the persistent storage in the client code. Clients should be simply *one-shot* scripts without any state and should not affect global definitions.

IMHO this code belongs to `src/module` or `src/lib`.