Fixes in the sync code.
Merge branch 'test' into dev