Finished all the non-primitve sync work.