Improves the way local configs are handled and merged.