Why use @classmethod here?