Adds synchronization methods and tests