Updated documentation. Fixed Sync bugs