ENH: drop _apply_preprocessing private function