Added point and polygon primitives.