Merge from main thread.