simplify ib.lib.classmethod_