hack: cache configuration in memory and avoid dependency resolution