Move from static object to pure static function.