Re-adding old merge functions.