Convert sync functions to new format