Added missing clearTransfers() function