Changed anonymous function to local private function.