Added PinType property for Pin