Abelian varieties in Brill-Noether loci