Generalize synchronization method