Remove unnecessary public function.