Stifle unset warning
Refactor to directly write to the cache global instead of depending on __construct and __destruct