Bringing back the repayment part to the snowball library.