add callbacks option to flex instance proxy's sync

I want to be able to sync via flex, but I want to delegate it to a background task, so I don't want the callbacks installed. Therefore, take desired callbacks as parameters.