Added a new util function, Util.merge