Completed creating the Loan class.