Rewrote Coinpurse.