Move ops sync to a separate method

to please Scrutinizer