When using Swift 5.1, there are warnings about `public` modifiers being redundant in `public` extensions.
When using Swift 5.1, there are warnings about
publicmodifiers being redundant inpublicextensions.