Add nms classes for 1.7.8