Class methods should take a `cls` parameter, not `self`.