Add a helper for setting-then-getting a cached value.
Properly load modules in the background process.