Adding endpoints for loan-related operations.