Demote CoinKey from Class to Struct to emphasise its immutability.