AFAICT it seems like calling super.clearDependencies() is needed to unset the dependencies_ field in RDD.