Added merge method to param bag class