Setters added for pair and exchangeCode.