Skip generated sources when looking for collections (not sure if this is right)