Remove unused static function.