@thelastpsion - I don't know Pascal, but in Python you have static and class methods which can be used for this sort of thing.Python conventions do encourage using plain methods rather than making everything a class by default though. You could maybe extract an inner module (rather than an inner class) if you had several such methods and wanted to encapsulate them from the rest of the class.