[PD-dev] class_addmethod