Add configurable class cache to the environment that may be shared
between many scripts.