Adding PrimitiveType class.