doc: primitives