Added Sync

Closes #38