Cleanup and merge.