Setup some stuff for config caching.