fix forgotten classmethod decorator