remove unused merge functions.