I think these should be private[spark]