In addition , China agreed to a 10-year extension for repayment of loans given to Cuba in the 1990s .