annotate CoonfHandler with classmethod