Merge config sections. Fix variable declaration.