Added encodedSync to get profiles using a Sync method