Add merge() method to the Config class