Collect annotations with the "SOURCE" retention. (cherry picked from commit 6ef66e7) Original commit: 975364b2ed
975364b2ed