Fix staticmethod requiring self