Improved syncing.
Merge branch 'test' into dev