Add loan functionality.