Added support for sync operations. Closes #16.