Depending on what PHP runtime is used, we cannot expect the `$_SESSION` to exist, and we don't want to reduce compatibility with other runtimes. Remove the commented code considering use of `$_SESSION` for global singleton.