Fix Primitive reference doc

For #2036