Fix problems with cowry import.