PaintPrimitives:
PROC [self: Root] ~ {
Register[self, "erasepage", Perasepage];
Register[self, "fill", Pfill];
Register[self, "eofill", Peofill];
Register[self, "stroke", Pstroke];
Register[self, "image", Pimage];
Register[self, "imagemask", Pimagemask];
};