why not to move methods definitions inside class with @staticmethod decorator?