Generate unitsync wrapper.