Use a static function to get the extensions