More sync improvements.
Merge branch 'test' into dev