Recall that (for various reasons) the access modifier in front of extension
means something different than an access modifier anywhere else in that it is a shorthand for applying the effective visibility denoted by that access modifier to all the members contained in the extension.
So, for methods and computed properties, you can put them in a package extension
(and likewise public extension
) and they will be inferred to have that access level.