Refactoring in Borrowing.java.