Add prim method