Make this a private function.