Namespacing can and should be done using files/modules, not with classes. If a function can be decoupled from a class definition, it should be -- attaching it to a class adds unnecessary complexity, and often makes unit testing more difficult.