Use `classmethod` as a decorator.