Make setDataSync private