Added sync for badges.