finish pack_classmethod