Add a merge method to Compilations.