Factored out active sync