Env
Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration. This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
"non-public" in this case means only used for event handling (and not supposed to be called by clients)