Add missing classmethod decorator