Rename primitives to purePrimitives & allPrimitives to primitives