Speed up for config generation.