Added documentation to sync.