Mark this as private[spark] so it doesn't show up in the doc.